UCF STIG Viewer Logo

System audit logs must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-813 GEN002700 SV-38478r1_rule ECTP-1 Medium
Description
If a user can write to the audit logs, audit trails can be modified or destroyed and system intrusion may not be detected. System audit logs are those files generated from the audit system and do not include activity, error, or other log files created by application software.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2013-06-27

Details

Check Text ( C-36425r1_chk )
Determine the location of the log files.
# cat /.secure/etc/audnames /etc/audit/audnames

For each audit file, check the mode.
# ls -lLd
# ls -lLa

If any audit log file has a mode more permissive than 0640 (0750 for directories), this is a finding.
Fix Text (F-31764r1_fix)
Change the mode of the audit log file(s)/dir(s), 0640/0750, respectively.
# chmod 0640